package com.design.model;

import lombok.Data;

@Data
public class BaseResult<T> {
    /**
     * 结果码
     */
    private String code = "200";

    /**
     * 描述
     */
    private String desc = "成功";

    /**
     * 返回数据
     */
    private T result;


    public BaseResult() {
    }

    public BaseResult(T result) {
        this.result = result;
    }
}
